﻿<Window x:Class="Khrulenko___Lukyanov_WPF.Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Khrulenko___Lukyanov_WPF"
        mc:Ignorable="d"
        Title="Window1" Height="580" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Rectangle HorizontalAlignment="Center" Height="116" Grid.Row="3" Stroke="White" VerticalAlignment="Top" Width="822" Fill="#FF6500FF" Margin="0,-9,0,0"/>
        <TextBlock HorizontalAlignment="Center" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Height="32" Margin="0,5,0,0"><Run Foreground="White" FontSize="25" Text="Фитнес "/><Run Foreground="White" FontSize="25" Language="ru-ru" Text="п"/><Run Foreground="White" FontSize="25" Text="омощник"/></TextBlock>
        <TextBlock HorizontalAlignment="Center" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Height="32" Margin="0,43,0,0"><Run Foreground="White" FontSize="15" Language="ru-ru" Text="регистрация"/></TextBlock>
        <TextBlock HorizontalAlignment="Center" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Height="32" Margin="0,75,0,0"><Run Foreground="#FFCAC3C3" FontSize="15" Language="ru-ru" Text="Заполните поля, обязательные для ввода"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="68,138,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run Language="ru-ru" Text="Логин" FontSize="18" Foreground="#FF6500FF" /></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="68,176,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run FontSize="18" Language="ru-ru" Text="Пароль" Foreground="#FF6500FF" /></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="68,217,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run FontSize="18" Language="ru-ru" Text="Фамилия" Foreground="#FF6500FF" /></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="68,259,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run FontSize="18" Language="ru-ru" Text="Имя" Foreground="#FF6500FF" /></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="68,300,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run FontSize="18" Language="ru-ru" Text="Рост(см)" Foreground="#FF6500FF"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="68,340,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run FontSize="18" Language="ru-ru" Text="Вес(кг)" Foreground="#FF6500FF" /></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="30,379,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top"><Run FontSize="18" Language="ru-ru" Text="Дата рождения" Foreground="#FF6500FF" /></TextBlock>
        <TextBox x:Name="LoginUser" HorizontalAlignment="Left" Margin="168,132,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Width="270" Height="35"  BorderBrush="#FF6500FF"/>
        <TextBox HorizontalAlignment="Left" Margin="168,211,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Width="270" Height="35"  BorderBrush="#FF6500FF"/>
        <TextBox x:Name="NameUser" HorizontalAlignment="Left" Margin="168,253,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Width="270" Height="35"  BorderBrush="#FF6500FF"/>
        <TextBox x:Name="RostUser" HorizontalAlignment="Left" Margin="168,294,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Width="270" Height="35"  BorderBrush="#FF6500FF"/>
        <TextBox x:Name="WeightUser" HorizontalAlignment="Left" Margin="168,334,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Width="270" Height="35"  BorderBrush="#FF6500FF"/>
        <TextBox x:Name="BHUser" HorizontalAlignment="Left" Margin="168,373,0,0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Top" Width="270" Height="35"  BorderBrush="#FF6500FF"/>
        <PasswordBox x:Name="PasswordUser" HorizontalAlignment="Left" Margin="168,172,0,0" Grid.Row="3" VerticalAlignment="Top" Width="270" Height="34" Background="White" BorderBrush="#FF6500FF"/>
        <TextBox HorizontalAlignment="Left" Margin="468,172,0,0" Grid.Row="3" TextWrapping="Wrap" Text="Пароль должен соответствовать следующим условиям:&#xD;&#xA;&#xD;&#xA; - количество символов от 8 до 20;&#xD;&#xA; - наличие цифр;&#xD;&#xA;- наличие спецсимволов;&#xD;&#xA;- наличие прописных букв и символов." FontSize="13" Foreground="#FF6500FF" VerticalAlignment="Top" Width="288" Height="210" BorderBrush="White"/>
        <Button x:Name="RegistrationButton" Content="ЗАРЕГИСТРИРОВАТЬСЯ" HorizontalAlignment="Left" Margin="32,472,0,0" Grid.Row="3" VerticalAlignment="Top" Height="49" Width="219" Background="#FF6500FF" Foreground="White" FontSize="15" Click="RegistrationButton_Click"/>
        <Button x:Name="CancelButton" Content="ОТМЕНА" HorizontalAlignment="Left" Margin="553,472,0,0" Grid.Row="3" VerticalAlignment="Top" Height="49" Width="219" Background="#FF8C8694" Foreground="White" FontSize="15"/>
    </Grid>
</Window>
